// PointZoomOutCommand.h: interface for the PointZoomOutCommand class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_POINTZOOMOUTCOMMAND_H__33F88A0F_EF48_4A00_A831_EC8017C55CEB__INCLUDED_)
#define AFX_POINTZOOMOUTCOMMAND_H__33F88A0F_EF48_4A00_A831_EC8017C55CEB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "CommandObject.h"

class AcDbViewTableRecord;
class PointZoomOutCommand : public CommandObject 
{
public:
	PointZoomOutCommand(const AcGePoint3d& pt, DOUBLE dbHeight = 50.0, DOUBLE dbWidth = 50.0);
	virtual ~PointZoomOutCommand();

public:
	virtual BOOL Execute();

private:
	AcGePoint3d m_pt;
	DOUBLE m_dbWidth;
	DOUBLE m_dbHeight;

private:
	AcGeVector3d GetCurDirection();
	AcGePoint3d GetDCSTarget();
	BOOL SetUCS(AcDbViewTableRecord* pRecord);
	DOUBLE GetCurElevation();
};

#endif // !defined(AFX_POINTZOOMOUTCOMMAND_H__33F88A0F_EF48_4A00_A831_EC8017C55CEB__INCLUDED_)
